package cn.wolfcode.gitfile.cn.wolfcode.service.impl;

import cn.wolfcode.gitfile.cn.wolfcode.domain.User;
import cn.wolfcode.gitfile.cn.wolfcode.service.IUserService;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements IUserService {

    @Override
    public User get(Long id) {
        User user = new User();
        user.setId(1L);
        user.setName("develop");
        return user;
    }

    @Override
    public void voLogin(String username, String password) {
        System.out.println("项目上线bug维护");
        System.out.println("登录功能修复");
        System.out.println("登录功能实现");
    }

    public void regist(String username, int age){
        System.out.println("注册功能实现");
    }
}
